package cxt.cn.domain;

import java.io.Serializable;
import java.util.Date;

public class Student implements Serializable {
    private String Sno;
    private String Sname;
    private String Sex;
    private Date Birth;
    private String ClassNo;

    public String getSno() {
        return Sno;
    }

    public void setSno(String sno) {
        Sno = sno;
    }

    public String getSname() {
        return Sname;
    }

    public void setSname(String sname) {
        Sname = sname;
    }

    public String getSex() {
        return Sex;
    }

    public void setSex(String sex) {
        Sex = sex;
    }

    public Date getBirth() {
        return Birth;
    }

    public void setBirth(Date birth) {
        Birth = birth;
    }

    public String getClassNo() {
        return ClassNo;
    }

    public void setClassNo(String classNo) {
        ClassNo = classNo;
    }

    @Override
    public String toString() {
        return "Student{" +
                "Sno='" + Sno + '\'' +
                ", Sname='" + Sname + '\'' +
                ", Sex='" + Sex + '\'' +
                ", Birth=" + Birth +
                ", ClassNo='" + ClassNo + '\'' +
                '}';
    }
}
